/*
 * XML Type:  GeneralSecurityInfo
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.GeneralSecurityInfo
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04;


/**
 * An XML GeneralSecurityInfo(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public interface GeneralSecurityInfo extends org.apache.xmlbeans.XmlObject
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.s3A74FF4CC3627C5B0D40068015746F8A.TypeSystemHolder.typeSystem.resolveHandle("generalsecurityinfo2efetype");
    
    /**
     * Gets the "SECID" element
     */
    net.ofx.types.x2003.x04.SecurityId getSECID();
    
    /**
     * Sets the "SECID" element
     */
    void setSECID(net.ofx.types.x2003.x04.SecurityId secid);
    
    /**
     * Appends and returns a new empty "SECID" element
     */
    net.ofx.types.x2003.x04.SecurityId addNewSECID();
    
    /**
     * Gets the "SECNAME" element
     */
    java.lang.String getSECNAME();
    
    /**
     * Gets (as xml) the "SECNAME" element
     */
    net.ofx.types.x2003.x04.SecurityNameType xgetSECNAME();
    
    /**
     * Sets the "SECNAME" element
     */
    void setSECNAME(java.lang.String secname);
    
    /**
     * Sets (as xml) the "SECNAME" element
     */
    void xsetSECNAME(net.ofx.types.x2003.x04.SecurityNameType secname);
    
    /**
     * Gets the "TICKER" element
     */
    java.lang.String getTICKER();
    
    /**
     * Gets (as xml) the "TICKER" element
     */
    net.ofx.types.x2003.x04.TickerType xgetTICKER();
    
    /**
     * True if has "TICKER" element
     */
    boolean isSetTICKER();
    
    /**
     * Sets the "TICKER" element
     */
    void setTICKER(java.lang.String ticker);
    
    /**
     * Sets (as xml) the "TICKER" element
     */
    void xsetTICKER(net.ofx.types.x2003.x04.TickerType ticker);
    
    /**
     * Unsets the "TICKER" element
     */
    void unsetTICKER();
    
    /**
     * Gets the "FIID" element
     */
    java.lang.String getFIID();
    
    /**
     * Gets (as xml) the "FIID" element
     */
    net.ofx.types.x2003.x04.FinancialInstitutionIdType xgetFIID();
    
    /**
     * True if has "FIID" element
     */
    boolean isSetFIID();
    
    /**
     * Sets the "FIID" element
     */
    void setFIID(java.lang.String fiid);
    
    /**
     * Sets (as xml) the "FIID" element
     */
    void xsetFIID(net.ofx.types.x2003.x04.FinancialInstitutionIdType fiid);
    
    /**
     * Unsets the "FIID" element
     */
    void unsetFIID();
    
    /**
     * Gets the "RATING" element
     */
    java.lang.String getRATING();
    
    /**
     * Gets (as xml) the "RATING" element
     */
    net.ofx.types.x2003.x04.Rating xgetRATING();
    
    /**
     * True if has "RATING" element
     */
    boolean isSetRATING();
    
    /**
     * Sets the "RATING" element
     */
    void setRATING(java.lang.String rating);
    
    /**
     * Sets (as xml) the "RATING" element
     */
    void xsetRATING(net.ofx.types.x2003.x04.Rating rating);
    
    /**
     * Unsets the "RATING" element
     */
    void unsetRATING();
    
    /**
     * Gets the "UNITPRICE" element
     */
    java.lang.String getUNITPRICE();
    
    /**
     * Gets (as xml) the "UNITPRICE" element
     */
    net.ofx.types.x2003.x04.UnitPriceType xgetUNITPRICE();
    
    /**
     * True if has "UNITPRICE" element
     */
    boolean isSetUNITPRICE();
    
    /**
     * Sets the "UNITPRICE" element
     */
    void setUNITPRICE(java.lang.String unitprice);
    
    /**
     * Sets (as xml) the "UNITPRICE" element
     */
    void xsetUNITPRICE(net.ofx.types.x2003.x04.UnitPriceType unitprice);
    
    /**
     * Unsets the "UNITPRICE" element
     */
    void unsetUNITPRICE();
    
    /**
     * Gets the "DTASOF" element
     */
    java.lang.String getDTASOF();
    
    /**
     * Gets (as xml) the "DTASOF" element
     */
    net.ofx.types.x2003.x04.DateTimeType xgetDTASOF();
    
    /**
     * True if has "DTASOF" element
     */
    boolean isSetDTASOF();
    
    /**
     * Sets the "DTASOF" element
     */
    void setDTASOF(java.lang.String dtasof);
    
    /**
     * Sets (as xml) the "DTASOF" element
     */
    void xsetDTASOF(net.ofx.types.x2003.x04.DateTimeType dtasof);
    
    /**
     * Unsets the "DTASOF" element
     */
    void unsetDTASOF();
    
    /**
     * Gets the "CURRENCY" element
     */
    net.ofx.types.x2003.x04.Currency getCURRENCY();
    
    /**
     * True if has "CURRENCY" element
     */
    boolean isSetCURRENCY();
    
    /**
     * Sets the "CURRENCY" element
     */
    void setCURRENCY(net.ofx.types.x2003.x04.Currency currency);
    
    /**
     * Appends and returns a new empty "CURRENCY" element
     */
    net.ofx.types.x2003.x04.Currency addNewCURRENCY();
    
    /**
     * Unsets the "CURRENCY" element
     */
    void unsetCURRENCY();
    
    /**
     * Gets the "MEMO" element
     */
    java.lang.String getMEMO();
    
    /**
     * Gets (as xml) the "MEMO" element
     */
    net.ofx.types.x2003.x04.MessageType xgetMEMO();
    
    /**
     * True if has "MEMO" element
     */
    boolean isSetMEMO();
    
    /**
     * Sets the "MEMO" element
     */
    void setMEMO(java.lang.String memo);
    
    /**
     * Sets (as xml) the "MEMO" element
     */
    void xsetMEMO(net.ofx.types.x2003.x04.MessageType memo);
    
    /**
     * Unsets the "MEMO" element
     */
    void unsetMEMO();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo newInstance() {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, options ); }
        
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, options ); }
        
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        public static net.ofx.types.x2003.x04.GeneralSecurityInfo parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.GeneralSecurityInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
